﻿<UserControl x:Class="SilverMindMap.Core.View.MindMapControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:local="clr-namespace:SilverMindMap.Core.View"
    mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400"
    x:Name="thisControl">
    <UserControl.Resources>
        <TranslateTransform x:Key="_translateTransform" X="0" Y="0"/>
        <local:DivideConverter x:Key="_divideConverter"/>
    </UserControl.Resources>
    <Grid x:Name="LayoutRoot" Background="White">
        <Canvas>
            <Canvas.RenderTransform>
                <TranslateTransform x:Name="_rootTranslateTransform" X="0" Y="0"/>
            </Canvas.RenderTransform>
            <Canvas x:Name="_linksPanel" RenderTransform="{StaticResource _translateTransform}"/>
            <Canvas x:Name="_nodesPanel" RenderTransform="{StaticResource _translateTransform}"/>
        </Canvas>
    </Grid>
</UserControl>
